<div class="featuredRow">
  <h2><%=h @course.name %></h2>
</div>


<div class="featuredRow">
  <div id="caja1left" class="caja" style="float: left">
    <h3>
      <%= hide_on_click 'Eventos', 'uniqueId0' %>
    </h3>
    <div id="uniqueId0">
      <ul>
        <% for e in @events %>
          <li><%=  link_to h(e.name), {:controller => 'event', :action => 'view', :id => e}, :class => "tituloCurso"  %></li>
        <% end %>
      </ul>
      <span class="linkED"><%= link_to 'A&ntilde;adir evento', :controller => 'event', :action => 'add', :id => @course %></span>
    </div>
  </div>


  <div id="caja2right" class="caja" style="float: right">
    <h3>
      <%= hide_on_click 'Asignaciones', 'uniqueId1' %>
    </h3>
    <div id="uniqueId1">
      <ul>
        <% for a in @assignments %>
          <li><%= link_to h(a.name), {:controller => 'event', :action => 'view', :id => a}, :class => "tituloCurso" %>
          <%- if not @answered[a] -%>
*
          <%- end -%>
          </li>
        <% end %>
        <span class="linkED"><%= link_to 'Ver Calificaciones', :controller => 'event', :action => 'list_assignments', :id => @course %></span>
      </ul>
    </div>
  </div>
</div>


<br />
<br />


<div id="caja3left" class="featuredRow">
  <div class="caja" style="float: left;">
    <h3>
      <%= hide_on_click 'Integrantes', 'uniqueId2' %>
    </h3>
    <div id="uniqueId2">
      <ul>
        <% for a in @users %>
          <li><%= link_to h(a.login), { :controller => 'account', :action => 'view', :id => a }, :class => "tituloCurso" %></li>
        <% end %>
      </ul>
    </div>
  </div>
</div>
<br />

